package ru.unlocker.reports.sampler.domain;

import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import java.time.Duration;
import java.util.UUID;
import lombok.Data;
import lombok.NoArgsConstructor;
import ru.unlocker.reports.domain.ReportEventKind;
import ru.unlocker.reports.domain.TimerEventKind;

@NoArgsConstructor
@Data
@JsonPropertyOrder(
    {"ticks", "topic", "reportId", "groupId", "reportCode", "duration", "errorDesc", "reportKind", "timerKind"}
)
public class EventData {

  private Integer ticks;
  private TopicEnum topic;
  private UUID reportId;
  private UUID groupId;
  private String reportCode;
  private Duration duration;
  private String errorDesc;
  private ReportEventKind reportKind;
  private TimerEventKind timerKind;
}
